﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoubleLinkedList
{
    public class Node<Type>
    {
        #region Member Variables

        private Type data;
        public Type Data { get { return data; } }
        public Node<Type> Next { get; set; }
        public Node<Type> Prev { get; set; }

        #endregion

        #region Constructors

        public Node(Type data)
        {
            this.data = data;
            Prev = Next = null;
        }

        #endregion
    }
}
